﻿@model PaymentBank
<div class="page">
    <div class="pageContent">
        <form method="post" action="/payment/bank/@Model.Id" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent">
            <div>
                <p>
                    <label>
                        状 态：
                    </label>
                    <select name="status">
                        <option value="True" @(Model.Status ? "selected=selected" : string.Empty)>可用</option>
                        <option value="False" @(!Model.Status ? "selected=selected" : string.Empty)>不可用</option>
                    </select>
                </p>
                <p>
                    <label>
                        名 称：
                    </label>
                    <input type="text" name="Name" value="@(Model.Name)" class="required"/>
                </p>
                <p>
                    <label>
                        图 片：
                    </label>
                    <input type="text" name="Image" value="@(Model.Image)" class="required"/>
                </p>
                <p>
                    <label>
                        描 述：
                    </label>
                    <input type="text" name="Description" value="@(Model.Description)"/>
                </p>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="button" onclick="this.form.onsubmit();">
                                保存</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" onclick="$.pdialog.closeCurrent();">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</div>
